<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}"></c:set>
<html>
<head>
<meta charset="UTF-8">
<title>黔彩便利加盟申请表</title>
<meta name="viewport"
	content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<!-- <meta name="viewport" content="width=640, maximum-scale=1.0, user-scalable=no"/> -->
	<link rel="stylesheet"
	href="${contextPath}/static/statistics/layui/css/layui.css" />
	<link rel="stylesheet" href="${contextPath}/static/jeDate-test.css">
	<link rel="stylesheet" href="${contextPath}/static/jedate.css">
</head>
<style>
	body{
		margin: 0px;
		padding: 0px;
	}
	span {
		margin: 5px 7px;
	}
          font{
          	color: red;
          	font-size: 15px;
          	vertical-align: middle;
          }
          .input_content{
			border: 1px solid #DCE4EB;
			color:#434343;
			width:90%;
	       	height: 33px;
	       	border-radius: 4px;
	       	font-size: 16px;
	       	padding-left:5px;
		  }
		  .div_content{
			margin-top: 10px;
			margin-bottom: 15px;
			text-align: center;
		  }
          input[type='checkbox']{
			margin-left: 15px;
			color:#434343;
			vertical-align:middle;
          }
	      select{
	      	border-radius: 4px;
	      	height: 33px;
	      	border: 1px solid #DCE4EB;
	      	color:#B3B3B3;
	      	width:90%;
			font-size:17px;
			-webkit-appearance:none;
			background: url(${contextPath}/static/image/select.png) no-repeat;
			background-position:98% 50%;
	     	padding-left:5px;
	     	background-size: 16px 18px;
	      }
          input,select,option,textarea{
				outline:none;
		  }
		  #nextButton{
			width: 90%;
			height: 47px;
			border-radius: 4px;
			margin-bottom: 28px;
			background-color: #408170;
			color:white;
			margin-top: 10px;
			border: none;
			outline: none;
	}
	/*弹窗CSS*/
	#layer{
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.5);
	}
	#layer_content{
		background-color: white;
		width:200px;
		margin-left: 100px;
		margin-top: 100px;
		text-align: center;
		background-color: #408170;
	}
	#dibu{
		text-align: right;
		margin-bottom: 10px;
	}
	#dibu button{
		border-radius: 5px;
		outline: none;
		margin-right: 8px;
	}
	#nextButton{
		border-radius: 6px;
	}
</style>
			
<body>
	<div>
		<div>
			<div>
				<div style="margin-top: 30px;margin-bottom: 30px;">
					<span style="color: #408170;margin-left: 22px;font-size: 19px;font-weight: bold;">经营现状</span>
				</div>
				<form id="shopSituation">
				<div>
					<!-- 经营现状开始 -->
					<input type="hidden" id="workTime">
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">门店名称</span><font>*</font>
					<div class="div_content">
						<input type="text" id="shopName" name="shopName" class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营地址</span><font >*</font>
					<div class="div_content">
						<input type="text" id="businessAddress" name="businessAddress" class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">营业执照</span><font >*</font>
					<div class="div_content">
						<input type="text" id="businessLicenseNumber" name="businessLicenseNumber"  class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">许可证号</span><font >*</font>
					<div class="div_content">
						<input type="text" id="licenseNumber" name="licenseNumber" class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营时间</span><font >*</font>
					<div class="div_content">
						<input type="text" id="businessTimeStart" name="businessTimeStart" class="input_content" style="border: 1px solid #DCE4EB;width: 44%;">-
						<input type="text" id="businessTimeEnd" name="businessTimeEnd" class="input_content" style="border: 1px solid #DCE4EB;width: 44%;"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营人员</span><font >*</font>
					<div class="div_content">
						<select id="businessM" name="businessMan" >
							<option value="">请选择</option>
							<option value="1">家庭管理</option>
							<option value="2">委托管理</option>
							<option value="">其他</option>
						</select>
						<input type="text" id="businessMan" name="businessM" class="input_content" style="border: 1px solid #DCE4EB;display:none;">
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营模式</span><font >*</font> 
					<div class="div_content">
						<select id="businessModel" name="businessModel" >
							<option value="">请选择</option>
							<option value="1">个体零售经营</option>
							<option value="2">公司团队运作</option>
							<option value="3">连锁经营管理</option>
							<option value="4">其他</option>
						</select>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">市场类型</span><font >*</font> 
					<div class="div_content">
						<select id="marketType" name="marketType" >
							<option value="">请选择</option>
							<option value="1">城镇</option>
							<option value="2">乡村</option>
						</select>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营类型（业态）</span><font >*</font>
					<div class="div_content">
						<select id="businessType" name="businessType" >
							<option value="">请选择</option>
							<option value="1">食杂店</option>
							<option value="2">便利店</option>
							<option value="3">超市</option>
							<option value="4">商场</option>
							<option value="5">烟酒商店</option>
							<option value="6">娱乐服务</option>
							<option value="7">其他</option>
						</select>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">经营情况</span><font >*</font>
					<div><span style="color: #808080;font-size: 13px;margin-left: 22px;">非烟商品种类</span></div>
					<div style="margin-top: 13px;text-align: center;">
						<input type="checkbox" id="" name="nonTobaccoType" value="酒"><span style="font-size: 13px;color: #434343;">酒</span>
					    <input type="checkbox" id="" name="nonTobaccoType" value="茶"><span style="font-size: 13px;color: #434343;">茶</span>
						<input type="checkbox" id="" name="nonTobaccoType" value="副食品"><span style="font-size: 13px;color: #434343;">副食品</span>
						<input type="checkbox" id="nonTobaccoOther" name="nonTobaccoType" value=""><span style="font-size: 13px;color: #434343;">其他</span>
						<br/>
						<input type="text" id="nonTobaccoType" name="nonTobaccoTyp" class="input_content" style="margin-top: 23px;margin-bottom:18px;display: none;"><br/>
					</div>
					<div><span style="color: #808080;font-size: 13px;margin-left: 22px;margin-top: 13px;">非烟商品个数</span></div>
					<div style="margin-top: 13px;text-align: center;">
						<select id="nonTobaccoNumber" name="nonTobaccoNumber">
							<option value="">请选择</option>
							<option value="1">100以下</option>
							<option value="2">100—300</option>
							<option value="3">300—500</option>
							<option value="4">500—800</option>
							<option value="5">800以上</option>
						</select>
						<input type="text" id="validateNonTobaccoNumber" value="非烟商品个数不能为空"  class="input_content" style="display: none;color:red;">
					</div>
					<!-- 经营现状结束 -->
				</div>
				<!-- 店铺情况开始 -->
				<div>
					<div style="margin-top: 30px;margin-bottom: 30px;">
						<span style="color: #408170;margin-left: 22px;font-size: 19px;font-weight: bold;">店铺情况</span>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">门头标识</span><font >*</font>
					<div class="div_content">
						<input type="radio" id="shopNign" name="shopNign" value=""/><span style="font-size: 13px;color: #434343;">有</span>
						<input type="radio" id="shopNign1" name="shopNign" value="0"/><span style="font-size: 13px;color: #434343;">无</span>
						<br/>
						<input type="text" id="shopNign2" name="shopSign" class="input_content" style="margin-top: 23px;display: none;">
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">持有方式</span><font >*</font>
					<div class="div_content">
						<select id="holdWay" name="holdWay">
							<option value="">请选择</option>
							<option value="1">自有</option>
							<option value="2">租赁</option>
							<option value="3">承包</option>
							<option value="4">其他</option>
						</select>
						<input type="text" id="validateHoldWay" value="持有方式不能为空" style="display:none;color:red;" class="input_content">
					</div>
					<div id="zuqi">
						<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">租期(年)</span><font >*</font>
						<div style="margin-top: 13px;margin-bottom: 18px;text-align: center;">
							<input type="text" id="rentTime" name="rentTime" class="input_content"><br/>
						</div>
					</div>
					<div id="zujin">
						<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">租金(万元)</span><font >*</font>
						<div style="margin-top: 13px;margin-bottom: 18px;text-align: center;">
							<input type="text" id="rentMoney" name="rentMoney" class="input_content"><br/>
						</div>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">店铺面积(㎡)</span><font >*</font>
					<div class="div_content">
						<input type="text" id="shopAcreage" name="shopAcreage" class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">店铺形状</span><font >*</font>
					<div class="div_content">
						<select id="shopShap" name="shopShap">
							<option value="">请选择</option>
							<option value="1">长方形</option>
							<option value="2">正方形</option>
							<option value="3">异形</option>
							<option value="4">其他</option>
						</select>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">门头宽度(米)</span><font >*</font>
					<div class="div_content">
						<input type="number" id="shopWidth" name="shopWidth" class="input_content">
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">层高(米)</span><font >*</font>
					<div class="div_content">
						<input type="number" id="shopHeight" name="shopHeight" class="input_content">
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">店铺准备</span><font >*</font>
					<div class="div_content">
						<input type="checkbox" id="" name="shopEquipment" value="网络"><span style="font-size: 13px;color: #434343;">网络</span>
						<input type="checkbox" id="" name="shopEquipment" value="电脑"><span style="font-size: 13px;color: #434343;">电脑</span>
						<input type="checkbox" id="" name="shopEquipment" value="扫码枪"><span style="font-size: 13px;color: #434343;">扫码枪</span>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">门店销售系统名称</span><font >*</font>
					<div class="div_content">
						<input type="text" id="shopSystemName" name="shopSystemName" class="input_content"><br/>
					</div>
					<span style="color: #1D1D1D;font-size: 16px;margin-left: 22px;">竞争情况</span>
					<div class="div_content">
						<input type="text" id="competeSituation" name="competeSituation" class="input_content">
					</div>
				</div>
				<!-- 店铺情况结束 -->
				<div class="div_content">
					<button id="nextButton" onclick="examApplay()"  type="button">下一步</button>						
				</div>
				</form>
			</div>
		</div>
	</div>
	<script src="${contextPath}/static/statistics/js/jquery.js"></script>
	<script src="${contextPath}/static/statistics/layui/layui.js"></script>
	<script src="${contextPath}/static/statistics/layui/layui.all.js"></script>
	<script src="${contextPath}/static/jedate.js"></script>
	<script src="${contextPath}/static/demo.js"></script>
	<script src="${contextPath}/static/validform/joinApplayValidForm.js"></script>
	
	<!-- 表单验证js -->
	<script type="text/javascript">
	function examApplay(){
		var name = $("#shopName").val();
		if(name == "" || name == null){
			document.getElementById("shopName").value = '门店名称不能为空';
			$("#shopName").css('color','red');
			$("#shopName").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#shopName").offset().top},10)
			$("#shopName").on('click',function(){
				if($("#shopName").val()=='门店名称不能为空'){
					document.getElementById("shopName").value = '';
				}
				 $("#shopName").css('color','#434343');
				 $("#shopName").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#businessAddress").val();
		if(name == "" || name == null){
			document.getElementById("businessAddress").value = '经营地址不能为空';
			$("#businessAddress").css('color','red');
			$("#businessAddress").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#businessAddress").offset().top},10)
			$("#businessAddress").on('click',function(){
				if($("#businessAddress").val()=='经营地址不能为空'){
					document.getElementById("businessAddress").value = '';
				}
				 $("#businessAddress").css('color','#434343');
				 $("#businessAddress").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#businessLicenseNumber").val();
		if(name == "" || name == null){
			document.getElementById("businessLicenseNumber").value = '营业执照不能为空';
			$("#businessLicenseNumber").css('color','red');
			$("#businessLicenseNumber").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#businessLicenseNumber").offset().top},10)
			$("#businessLicenseNumber").on('click',function(){
				if($("#businessLicenseNumber").val()=='营业执照不能为空'){
					document.getElementById("businessLicenseNumber").value = '';
				}
				 $("#businessLicenseNumber").css('color','#434343');
				 $("#businessLicenseNumber").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#licenseNumber").val();
		if(name == "" || name == null){
			document.getElementById("licenseNumber").value = '许可证号不能为空';
			$("#licenseNumber").css('color','red');
			$("#licenseNumber").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#licenseNumber").offset().top},10)
			$("#licenseNumber").on('click',function(){
				if($("#licenseNumber").val()=='许可证号不能为空'){
					document.getElementById("licenseNumber").value = '';
				}
				 $("#licenseNumber").css('color','#434343');
				 $("#licenseNumber").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#businessTimeStart").val();
		if(name == "" || name == null){
			document.getElementById("businessTimeStart").value = '经营时间不能为空';
			$("#businessTimeStart").css('color','red');
			$("#businessTimeStart").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#businessTimeStart").offset().top},10)
			$("#businessTimeStart").on('click',function(){
				if($("#businessTimeStart").val()=='经营时间不能为空'){
					document.getElementById("businessTimeStart").value = '';
				}
				 $("#businessTimeStart").css('color','#434343');
				 $("#businessTimeStart").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#businessTimeEnd").val();
		if(name == "" || name == null){
			document.getElementById("businessTimeEnd").value = '经营时间不能为空';
			$("#businessTimeEnd").css('color','red');
			$("#businessTimeEnd").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#businessTimeEnd").offset().top},10)
			$("#businessTimeEnd").on('click',function(){
				if($("#businessTimeEnd").val()=='经营时间不能为空'){
					document.getElementById("businessTimeEnd").value = '';
				}
				 $("#businessTimeEnd").css('color','#434343');
				 $("#businessTimeEnd").css('font-size','16px');
			});
			return;
		} 
		
		 var nontoType = document.getElementsByName("nonTobaccoType");
		 if(nontoType[3].checked){
			 if($("#nonTobaccoType").val() == "" || $("#nonTobaccoType").val() == null){
				 document.getElementById("nonTobaccoType").value = '其他非烟种类不能为空';
					$("#nonTobaccoType").css('color','red');
					$("#nonTobaccoType").css('font-size','13px');
					$("html,body").animate({scrollTop:$("#nonTobaccoType").offset().top},10)
					$("#nonTobaccoType").on('click',function(){
						if($("#nonTobaccoType").val()=='其他非烟种类不能为空'){
							document.getElementById("nonTobaccoType").value = '';
						}
						 $("#nonTobaccoType").css('color','#434343');
						 $("#nonTobaccoType").css('font-size','16px');
					});
					return;
			 }
		 }
		 /* 非烟商品个数非空验证 */
		 if(nontoType[0].checked ||nontoType[1].checked ||nontoType[2].checked ||nontoType[3].checked){
			if($("#nonTobaccoNumber").val()==""||$("#nonTobaccoNumber").val()==null){
				$("#validateNonTobaccoNumber").show();
				$("#nonTobaccoNumber").hide();
				$("html,body").animate({scrollTop:$("#validateNonTobaccoNumber").offset().top},10)
				$("#validateNonTobaccoNumber").on('click',function(){
					$("#validateNonTobaccoNumber").hide();
					$("#nonTobaccoNumber").show();
				});
				return;
			}
		}
		//门头标识验证
		 var shopNign = $("#shopNign").is(":checked");
		if(shopNign){
			if($("#shopNign2").val() == "" || $("#shopNign2").val() == null){
				document.getElementById("shopNign2").value = '门头标识不能为空';
				$("#shopNign2").css('color','red');
				$("#shopNign2").css('font-size','13px');
				$("html,body").animate({scrollTop:$("#shopNign2").offset().top},10)
				$("#shopNign2").on('click',function(){
					document.getElementById("shopNign2").value = '';
					$("#shopNign2").css('color','#434343');
					 $("#shopNign2").css('font-size','16px');
				})
				return;
			}
		}
		
		//持有方式验证
		 var holdWay = $("#holdWay").val();
		 if(holdWay == "" || holdWay == null){
			 $("#validateHoldWay").show();
			 $("#holdWay").hide();
			 $("html,body").animate({scrollTop:$("#validateHoldWay").offset().top},10)
			 $("#validateHoldWay").on('click',function(){
				 $("#validateHoldWay").hide();
				 $("#holdWay").show();
			 });
			 return;
		 }else{
			var holdWay=$("#holdWay option:selected").text();
			if(holdWay != '自有'){
				var name = $("#rentTime").val();
				if(name == "" || name == null){
					document.getElementById("rentTime").value = '租期不能为空';
				    $("#rentTime").css('color','red');
				    $("#rentTime").css('font-size','13px');
					$("html,body").animate({scrollTop:$("#rentTime").offset().top},10)
					$("#rentTime").on('click',function(){
						document.getElementById("rentTime").value = '';
						$("#rentTime").css('color','#434343');
						 $("#rentTime").css('font-size','16px');
					});
					return;
				}
				
				var name = $("#rentMoney").val();
				if(name == "" || name == null){
					document.getElementById("rentMoney").value = '租金不能为空';
				    $("#rentMoney").css('color','red');
				    $("#rentMoney").css('font-size','13px');
					$("html,body").animate({scrollTop:$("#rentMoney").offset().top},10)
					$("#rentMoney").on('click',function(){
						document.getElementById("rentMoney").value = '';
						$("#rentMoney").css('color','#434343');
						 $("#rentMoney").css('font-size','16px');
					});
					return;
				}
			}
		 }
		 
		var name = $("#shopAcreage").val();
		if(name == "" || name == null){
			document.getElementById("shopAcreage").value = '店铺面积不能为空';
		    $("#shopAcreage").css('color','red');
		    $("#shopAcreage").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#shopAcreage").offset().top},10)
			$("#shopAcreage").on('click',function(){
				document.getElementById("shopAcreage").value = '';
				$("#shopAcreage").css('color','#434343');
				 $("#shopAcreage").css('font-size','16px');
			});
			return;
		}
		
		var name = $("#shopSystemName").val();
		if(name == "" || name == null){
			document.getElementById("shopSystemName").value = '系统名称不能为空';
		    $("#shopSystemName").css('color','red');
		    $("#shopSystemName").css('font-size','13px');
			$("html,body").animate({scrollTop:$("#shopSystemName").offset().top},10)
			$("#shopSystemName").on('click',function(){
				document.getElementById("shopSystemName").value = '';
				$("#shopSystemName").css('color','#434343');
				 $("#shopSystemName").css('font-size','16px');
			});
			return;
		}else{
			var flag = SpecialWordRegCheck(name);
			if(flag == false){ 
				document.getElementById("shopSystemName").value = '销售系统名称不能包含特殊字符';
		    $("#shopSystemName").css('color','red');
		    $("#shopSystemName").css('font-size','13px');
				$("html,body").animate({scrollTop:$("#shopSystemName").offset().top},10)
				$("#shopSystemName").on('click',function(){
					document.getElementById("shopSystemName").value = '';
					$("#shopSystemName").css('color','#434343');
					 $("#shopSystemName").css('font-size','16px');
				});
				return;
			}
		}
		/* 获取非烟商品种类 值*/
		nonTobaccoType = document.getElementsByName("nonTobaccoType");
		nonTobacco = [];
	    for(k in nonTobaccoType){
	        if(nonTobaccoType[k].checked)
	        	nonTobacco.push(nonTobaccoType[k].value);
	    }
	    tobaccoStr = nonTobacco.join(","); 
	    var nonTobaccoTyp = $("#nonTobaccoType").val();
	    /* 获取店铺准备值 */
	    shopEquipment = document.getElementsByName("shopEquipment");
	    equipment = [];
	    for(k in shopEquipment){
	        if(shopEquipment[k].checked)
	        	equipment.push(shopEquipment[k].value);
	    }
	    equipmentStr = equipment.join(","); 
	    /* 获取经营人员值 */
	   var businessM = $("#businessMan").val();
	    /* 获取门头标识  */
	   var shopNign2 = $("#shopNign2").val();
	    /* 序列化表单 */
		var shopSituation = $("#shopSituation").serializeArray();
		var params = {};
		for(var i in shopSituation){
			params[shopSituation[i].name] = shopSituation[i].value;
		}		
		params.nonTobaccoType = tobaccoStr + nonTobaccoTyp;
		params.shopEquipment = equipmentStr;
		if(businessM != "" || businessM != null){
			params.businessMan = businessM;
		}
		if(shopNign2 != "" || shopNign2 != null){
			params.shopNign = shopNign2;
		}
		var baseForm = JSON.stringify(params);
		console.log(baseForm);
		//将表单数据存储到本地
		window.localStorage.setItem('shopSituation',baseForm);
		/* 页面跳转 */
		window.location.href='joinAttention';
		
		
		

	}
	</script>
	<script type="text/javascript"> 
	 	var baseForm = window.localStorage.getItem('params');
		console.log(baseForm); 
		var shopNign = document.getElementById('shopNign'); 
		var shopNign1 = document.getElementById('shopNign1'); 
		shopNign.onclick = function show1(){
			if($('#shopNign')[0].checked == true){
				var shopNign2 = $('#shopNign2').show();
			}
		}
		shopNign1.onclick = function show2(){
			if($('#shopNign1')[0].checked == true){
				$('#shopNign2').hide();
				$('#shopNign2').val('');
			}
		}
		$("#businessM").on('change',function(){
			var holdWay=$("#businessM option:selected").text();
			if(holdWay == '其他'){
				$("#businessMan").show();
			}else{
				$("#businessMan").hide();
				$("#businessMan").val('');
			}
		})
		$("#holdWay").on('change',function(){
			var holdWay=$("#holdWay option:selected").text();
			if(holdWay == '自有'){
				$("#zuqi").hide();
				$("#zujin").hide();
				$("#rentTime").val('');
				$("#rentMoney").val('');
				$("#validateRentTime").hide('');
				$("#validateRentMoney").hide('');
			}else{
				$("#zuqi").show();
				$("#zujin").show();
				$("#validateRentTime").hide('');
				$("#validateRentMoney").hide('');
			}
		})
		/* 非烟商品种类其他复选框 */
		
		var nonTobaccoOther = document.getElementById('nonTobaccoOther'); 
		nonTobaccoOther.onclick = function nonTobaccoOther(){
			if($('#nonTobaccoOther')[0].checked){
				$('#nonTobaccoType').show();
				$('#shopNign2').val('');
				$("#validateNonTobaccoType").hide();
			}else{
				$('#nonTobaccoType').hide();
				$('#nonTobaccoType').val('');
				$("#validateNonTobaccoType").hide();
			}
		}
	</script>
	<!-- 下拉框改变字体颜色   -->
	<script type="text/javascript">
	/* 经营人员 */
	var businessM = document.getElementById('businessM');
	businessM.onchange = function businessM(){
		$("#businessM").css('color','#434343');
	}
	/* 经营模式 */
	var businessModel = document.getElementById('businessModel');
	businessModel.onchange = function businessModel(){
		$("#businessModel").css('color','#434343');
	} 
	/* 市场类型  */
	var marketType = document.getElementById('marketType');
	marketType.onchange = function marketType(){
		$("#marketType").css('color','#434343');
	}
	/* 经营类型  */
	var businessType = document.getElementById('businessType');
	businessType.onchange = function businessType(){
		$("#businessType").css('color','#434343');
	}
	/* 非烟商品个数  */
	var nonTobaccoNumber = document.getElementById('nonTobaccoNumber');
	nonTobaccoNumber.onchange = function nonTobaccoNumber(){
		$("#nonTobaccoNumber").css('color','#434343');
	}
	/* 持有方式  */
	var holdWay = document.getElementById('holdWay');
	holdWay.onchange = function holdWay(){
		$("#holdWay").css('color','#434343');
	}
	/* 店铺形状  */
	var shopShap = document.getElementById('shopShap');
	shopShap.onchange = function shopShap(){
		$("#shopShap").css('color','#434343');
	}
	</script>
</body>
</html>